import java.sql.SQLOutput;
import java.util.Scanner;

public class Sort1 {
    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
                final int people=5;
                int[] score=new int[people];
                System.out.println("请输入"+people+"名学生的分数");
                for (int i=0;i<people;i++)
                {
                    System.out.print((i+1)+"号的分数：");
                    score[i]=stdIn.nextInt();
                }
                int max=score[0];
                for(int i=1;i<score.length;i++)
                    if (score[i]>max) max=score[i];
        System.out.println("最高分："+max+"分");
    }
}
